// changelog.js
const { execSync } = require('child_process');
const { resolve } = require('path');

const configPath = resolve(__dirname, 'conventional-changelog-config.js');

execSync(`npx conventional-changelog -p ${configPath} -i CHANGELOG.md -s -r 0`);